package com.ruicar.afs.cloud.channel.grade.constant;

import lombok.Data;

/**
 * @Description: 渠道模块常量
 * @param:
 * @return:
 * @auther: jiangxiongfei
 * @date: 2020-08-11 11:27
 */
@Data
public class Constants {

    public static final String IS_SAVAVALUE_NO_EXAM = "0";

    public static final String IS_YES_SAVAVALUE_EXAM = "1";

    public static final String FLAG_OFF = "0";

    public static final String FLAG_ON = "1";
    public static final String LIMIT_FLAG_0 = "0";
    public static final String LIMIT_FLAG_1 = "1";
    public static final String LIMIT_FLAG_2 = "2";
    public static final String SCORE_TYPE_1 = "1";
    public static final String SCORE_TYPE_2 = "2";
    public static final String MODEL_INDEX_CURRENT_VALUE = "X";
    public static final String MODEL_INDEX_WEIGHT_SCORE = "Y";
    public static final String MODEL_INDEX_PLAN_VALUE = "P";
    public static final String MODEL_INDEX_STAND_SCORE = "S";
    public static final String DEFAULT_BUSSTYPE = "0000";
    public static final String DEFAULT_BIZTYPE = "000000";
    public static final String BRCODE_CLASS_SELF = "0";
    public static final String GRADE_MODEL_TYPE_CUST = "1";
    public static final String GRADE_MODEL_TYPE_BRANCH = "2";
    public static final String GRADE_MODEL_TYPE_PERSONAL = "3";
    public static final String GRADE_MODEL_TYPE_DEBT = "4";
    public static final String GRADE_MODEL_TYPE_RATE = "5";
    public static final String COMM_CREDENCE_INFO_PROVIDE_STATE_0 = "0";
    public static final String COMM_CREDENCE_INFO_PROVIDE_STATE_1 = "1";
    public static final String COMM_CREDENCE_INFO_PROVIDE_STATE_2 = "2";
    public static final String COMM_CREDENCE_INFO_PROVIDE_STATE_3 = "3";
    public static final String COMM_CREDENCE_INFO_PROVIDE_STATE_4 = "4";
    public static final String COMM_CREDENCE_INFO_PROVIDE_STATE_5 = "5";
    public static final String COMM_CREDENCE_INFO_PROVIDE_STATE_8 = "8";
    public static final String COMM_CREDENCE_INFO_PROVIDE_STATE_9 = "9";
    public static final String COMM_CREDENCE_INFO_APPROVE_STATE_X = "X";
    public static final String COMM_CREDENCE_INFO_APPROVE_STATE_0 = "0";
    public static final String COMM_CREDENCE_INFO_APPROVE_STATE_1 = "1";
    public static final String COMM_CREDENCE_INFO_APPROVE_STATE_2 = "2";
    public static final String COMM_CREDENCE_INFO_APPROVE_STATE_3 = "3";
    public static final String COMM_CREDENCE_INFO_APPROVE_STATE_4 = "4";
    public static final String GRADE_VALUE_1 = "1";
    public static final String GRADE_VALUE_2 = "2";
    public static final String GRADE_VALUE_3 = "3";
    public static final String GRADE_VALUE_4 = "4";
    public static final String GRADE_VALUE_5 = "5";
    public static final String GRADE_VALUE_6 = "6";
    public static final String GRADE_VALUE_7 = "7";
    public static final String GRADE_VALUE_8 = "8";
    public static final String GRADE_VALUE_9 = "9";
    public static final String GRADE_VALUE_10 = "10";
    public static final String GRADE_VALUE_11 = "11";
    public static final String GRADE_TERM_TYPE_MONTH = "1";
    public static final String GRADE_TERM_TYPE_SEASON = "2";
    public static final String GRADE_TERM_TYPE_HALF = "3";
    public static final String GRADE_TERM_TYPE_YEAR = "4";
    public static final String GRADE_TERM_TYPE_LOAN = "1";
    /**
     * 信用等级
     */
    public static final String GRADE_LEVEL_AAA = "01";
    public static final String GRADE_LEVEL_AA = "02";
    public static final String GRADE_LEVEL_A = "03";
    public static final String GRADE_LEVEL_BBB = "04";
    public static final String GRADE_LEVEL_BB = "05";
    public static final String GRADE_LEVEL_B = "06";
    public static final String GRADE_LEVEL_NOTYET = "11"; //未评级

    /**
     * 五级分类
     */
    public static final String CLR_CLASS_NORMAL = "0"; // 正常
    public static final String CLR_CLASS_ATTENTION = "1"; // 关注
    public static final String CLR_CLASS_LESSER = "2"; // 次级
    public static final String CLR_CLASS_SHADINESS = "3"; // 可疑
    public static final String CLR_CLASS_LOSS = "4"; // 损失
    /**
     * 业务类型：评级模型评分项类别 1-一级大类
     */
    public static final String GRADE_MODEL_ELEMENT_TYPE_1 = "1";

    /**
     * 业务类型：评级模型评分项类别 2-二级小类
     */
    public static final String GRADE_MODEL_ELEMENT_TYPE_2 = "2";

    /**
     * 模型索引类型
     */
    public static final String GRADE_MODEL_INDEX_TYPE = "GRADE_MODEL";

    /**
     * 模型索引
     */
    public static final String GRADE_MODEL_INDEX = "GRADE_MODEL_INDEX";
    /**
     * 因素指标代码
     */
    public static final String GRADE_MODEL_ELEMENT_INDEX_TYPE = "GRADE_MODEL_ELEMENT";
    /**
     * 因素指标索引
     */
    public static final String GRADE_MODEL_ELEMENT_INDEX = "GRADE_MODEL_ELEMENT_INDEX";
    /**
     * 评级模型状态 0-无效
     */
    public static final String VALID_FLAG_UNVALID_0 = "0";
    /**
     * 评级模型状态 1-有效
     */
    public static final String VALID_FLAG_VALID_1 = "1";

    public static final String APPSTAT_INPUTED = "0"; // 已录入未审批
    public static final String APPSTAT_APPROVING = "1"; // 审批中
    public static final String APPSTAT_APPROVED = "2"; // 已审批(通过)
    public static final String APPSTAT_REJECTED = "3"; // 已拒绝
    public static final String APPSTAT_GOBACK = "4"; // 已退回
    public static final String APPSTAT_RETRACTED = "5"; // 已撤回（下个岗位未领取之前撤回）
    public static final String APPSTAT_CANCEL = "9"; // 已取消申请

    /**
     * 评估类型：0-大数据评估，1-试算评估
     */
    public static final String GRADE_TYPE_BIGDATA = "0"; // 大数据评估
    public static final String GRADE_TYPE_MODEL_CALC = "1"; // 模型试算

    /**
     * 模型指标值类型
     * 0-数据字典定值
     * 1-区间型定值
     * 2-其它
     */
    public static final String ELEMENT_EDIT_TYPE_DATADIC = "0";
    public static final String ELEMENT_EDIT_TYPE_RANGE = "1";
    public static final String ELEMENT_EDIT_TYPE_OTHER = "2";

    public static final String ELEMENT_TIME_DIMENSION_MONTH = "m";
    public static final String ELEMENT_TIME_DIMENSION_QUARTER = "q";
    public static final String ELEMENT_TIME_DIMENSION_HALFYEAR = "h";
    public static final String ELEMENT_TIME_DIMENSION_YEAR = "y";

    //删除标记
    public static final String DEL_FLAG_YES = "1";//已删除
    public static final String DEL_FLAG_NO = "0";//未删除
}
